package com.wbu.estatemanagement.domain;

import org.springframework.scheduling.support.SimpleTriggerContext;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

@Table(name="tb_admin")
public class Admin implements Serializable {

    @Id
   private Integer id;  //管理员id

   private String name;  //管理员姓名

    private String sex;  //管理员性别

    private String tel;  //管理员电话

    private String address; //管理员住址

    private String password;  //管理员密码

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }
}
